﻿using Newtonsoft.Json;
using System;
using System.ComponentModel;
using Terraria.ModLoader.Config;
namespace HardcoreGame.Common.Configs
{
    public class GameConfig : ModConfig
    {
        public static GameConfig Instance { get; private set; }
        public override ConfigScope Mode => ConfigScope.ClientSide;
        [Header("UI")]
        [Range(0, 5)]
        [Increment(1)]
        [DrawTicks]
        [Slider]
        [DefaultValue(0)]
        public int UseFahrenheitSlider;
        [JsonIgnore]
        public bool UseFahrenheit => UseFahrenheitSlider == 1;
       
    }
}
